package com.huanghuai.retail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huanghuai.retail.common.R;
import com.huanghuai.retail.entity.Device;

import java.util.List;

public interface DeviceService extends IService<Device> {
    List<Device> findByDeviceTypeId(Long id);

    R<String> saves(Device device);

    R<String> updates(Device device);

    R<Device> getByIds(Long id);

}
